package fsoft.com.vn.directory.service;

import fsoft.com.vn.directory.dao.GovOfficeRegionDAO;
import fsoft.com.vn.directory.form.GovOfficeRegion;

import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


@Service
public class GovOfficeRegionServiceImpl implements GovOfficeRegionService {

	@Autowired
	private GovOfficeRegionDAO govDAO;

	@Transactional
	public ArrayList listGov(int page, String split,  int check) {
		return govDAO.listGov(page,split, check);
	}


	@Transactional
	public GovOfficeRegion viewDetail(String id) {		
		return govDAO.viewDetail(id);
	}
	
	

}
